//
//  ViewController.swift
//  News
//
//  Created by Mac on 2025/5/9.
//

import UIKit
import SwiftyJSON

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = RGBColor(r: 100, g: 100, b: 100)
        let dic = ["token":"2cexxxx-xxx-xxxx"]
        HttpDatas.sharedInstance.requestDatas(.get, URLString: "http://101.132.114.122:8099/message/collect_list",  parameters:dic ) { response in
            let jsonData = JSON(response)
            print("jsonData = \(jsonData)")
        }
    }


}

